﻿<Window x:Class="SharpSnap.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525"
        WindowStyle="None"
        AllowsTransparency="True"
        ResizeMode="CanResizeWithGrip"
        Background="{x:Null}"
        MinWidth="29" MinHeight="29">
    <Grid>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition/>
    		<RowDefinition Height="Auto"/>
    	</Grid.RowDefinitions>

        <Grid Grid.Row="1">
        	<Grid.ColumnDefinitions>
        		<ColumnDefinition/>
        		<ColumnDefinition Width="Auto"/>
        	</Grid.ColumnDefinitions>
        	<Grid>
        		<Grid.RowDefinitions>
        			<RowDefinition Height="Auto"/>
        			<RowDefinition/>
        		</Grid.RowDefinitions>
        		<Grid x:Name="windowTitleBorder" VerticalAlignment="Top" Background="#FF00A2FF" MouseLeftButtonDown="windowTitleBorder_MouseLeftButtonDown" Height="26" Cursor="SizeAll" MinHeight="26">
        			<Label Content="SharpSnap" HorizontalAlignment="Center" Foreground="White"/>
        		</Grid>
        		<Border x:Name="captureBorder" BorderBrush="Black" BorderThickness="1" Grid.Row="2" MinWidth="1" MinHeight="1"/>
        	</Grid>
        	<StackPanel Grid.Column="1" Background="#FF00A2FF" Width="26" MinWidth="26">
                <Button x:Name="closeButton" Height="26" Width="26" BorderThickness="0" Background="{x:Null}" BorderBrush="{x:Null}" IsCancel="True" Padding="0" Click="closeButton_Click">
    <Path Data="F1M54.0573,47.8776L38.1771,31.9974 54.0547,16.1198C55.7604,14.4141 55.7604,11.6511 54.0573,9.94531 52.3516,8.23962 49.5859,8.23962 47.8802,9.94531L32.0026,25.8229 16.1224,9.94531C14.4167,8.23962 11.6511,8.23962 9.94794,9.94531 8.24219,11.6511 8.24219,14.4141 9.94794,16.1198L25.8255,32 9.94794,47.8776C8.24219,49.5834 8.24219,52.3477 9.94794,54.0534 11.6511,55.7572 14.4167,55.7585 16.1224,54.0534L32.0026,38.1745 47.8802,54.0534C49.5859,55.7585 52.3516,55.7572 54.0573,54.0534 55.7604,52.3477 55.763,49.5834 54.0573,47.8776z" Stretch="Uniform" Fill="#FFFFFFFF" Width="12" Height="12" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
      <Path.RenderTransform>
        <TransformGroup>
        	<RotateTransform Angle="0" />
        	<ScaleTransform ScaleX="1" ScaleY="1" />
        </TransformGroup>
      </Path.RenderTransform>
    </Path>
                </Button>
                <Button x:Name="captureButton" Click="Button_Click" Width="26" Height="26" Background="{x:Null}" BorderBrush="{x:Null}">
    <Path Data="M9.9046135,20.714799C8.1138964,20.714799 6.6656499,22.162595 6.6656504,23.95309 6.6656499,25.740684 8.1138964,27.18868 9.9046135,27.18868L15.673237,27.18868C17.463545,27.18868 18.912149,25.740684 18.912149,23.95309 18.912149,22.162595 17.463545,20.714799 15.673237,20.714799z M40.158001,13.371C46.026024,13.371 50.783001,18.127975 50.783001,23.996 50.783001,29.864025 46.026024,34.620998 40.158001,34.620998 34.289974,34.620998 29.533001,29.864025 29.533001,23.996 29.533001,18.127975 34.289974,13.371 40.158001,13.371z M40.461937,9.5434165C32.504692,9.5434165 26.05513,15.993318 26.05513,23.950269 26.05513,31.910022 32.504692,38.359684 40.461937,38.359684 48.421188,38.359684 54.871048,31.910022 54.871048,23.950269 54.871048,15.993318 48.421188,9.5434165 40.461937,9.5434165z M7.207294,0L18.729979,0 18.729979,4.1410914 58.892818,4.1410914C60.584206,4.14109,61.955997,5.5129138,61.955997,7.2043176L61.955997,40.699016C61.955997,42.390407,60.584206,43.762001,58.892818,43.762001L3.0630906,43.762001C1.3710811,43.762001,-3.5526906E-15,42.390407,6.9030407E-30,40.699016L6.9030407E-30,7.2043176C-3.5526906E-15,5.5129138,1.3710811,4.14109,3.0630906,4.1410914L7.207294,4.1410914z" Stretch="Uniform" Fill="#FFFFFFFF" Width="20" Height="20" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
      <Path.RenderTransform>
        <TransformGroup>
        	<RotateTransform Angle="0" />
        	<ScaleTransform ScaleX="1" ScaleY="1" />
        </TransformGroup>
      </Path.RenderTransform>
    </Path>
					</Button>
        		<Button x:Name="settingsButton" Width="26" Height="26" Background="{x:Null}" BorderBrush="{x:Null}">

    <Path Data="M31.679651,15.723C22.841078,15.723 15.677,22.887022 15.677,31.724249 15.677,40.562878 22.841078,47.727002 31.679651,47.727002 40.518124,47.727002 47.682003,40.562878 47.682003,31.724249 47.682003,22.887022 40.518124,15.723 31.679651,15.723z M25.174641,0L30.947304,8.1649995 30.977009,8.163671C31.891628,8.1361193,32.811726,8.1617675,33.732849,8.2423577L34.116646,8.2807278 40.096367,0.5289996 49.181995,4.5158782 47.510448,14.236901 47.626137,14.339919C48.479649,15.11912,49.268909,15.955267,49.990528,16.839653L50.234638,17.14785 60.403648,15.836 64.007996,25.079203 55.322643,31.217757 55.324234,31.258986C55.34618,32.174153,55.314838,33.094563,55.22847,34.015755L55.226952,34.030385 63.345997,40.294331 59.359104,49.380002 49.249798,47.645153 49.143776,47.764214C48.695721,48.255009,48.228832,48.72456,47.744774,49.172226L47.324875,49.549786 48.723995,60.394425 39.48156,64 33.403603,55.403061 33.023663,55.43042C32.149929,55.481137,31.270197,55.483376,30.38839,55.435608L29.679308,55.383191 23.130268,63.875 14.041999,59.886834 15.844025,49.393521 15.71986,49.282948C15.207753,48.815411,14.718776,48.32737,14.253661,47.820706L13.803129,47.315312 3.612031,48.630002 0.0080004195,39.385499 8.0905037,33.673707 8.0481892,33.048829C7.9875851,31.908507,8.0095654,30.758269,8.1175261,29.606822L8.1191311,29.59272 0,23.328246 3.9867127,14.242 14.093521,15.978928 14.104487,15.966273C15.033746,14.935561,16.045525,13.997155,17.124784,13.156928L17.159048,13.131042 15.929999,3.6040602z" Stretch="Uniform" Fill="#FFFFFFFF" Width="20" Height="20" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
      <Path.RenderTransform>
        <TransformGroup>
        	<RotateTransform Angle="0" />
        	<ScaleTransform ScaleX="1" ScaleY="1" />
        </TransformGroup>
      </Path.RenderTransform>
    </Path>
        			</Button>
        	</StackPanel>
        </Grid>

    </Grid>
</Window>
